<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Basic example - ExtStreetviewControl</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAjU0EJWnWPMv7oQ-jjS7dYxQGj0PqsCtxKvarsoS-iqLdqZSKfxRdmoPmGl7Y9335WLC36wIGYa6o5Q" type="text/javascript"></script>
    <script type="text/javascript">
    document.write('<script type="text/javascript" src="../src/extstreetviewcontrol'+(document.location.search.indexOf('packed')>-1?'_packed':'')+'.js"><'+'/script>');
  </script>
    <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(35.014975, 135.782479), 17);
        
        var extStreetviewControl = new ExtStreetviewControl();
        map.addControl(extStreetviewControl);
        
        map.addOverlay(new GStreetviewOverlay());
      }
    }

    </script>
    <style type="text/css">
    <!--
    #map_canvas {
      width: 70%;
      height: 500px;
      border:2px solid red;
    }
    //-->
    </style>
  </head>
  <body onload="initialize()" onunload="GUnload()">
  <h4>Basic example - ExtStreetviewControl</h4>
    <div id="map_canvas" ></div>
    
    <p>This is a simple example for ExtStreetviewControl.</p>
  </body>
</html>

